package priv.menguer.compositeentity.controller;

/**
 * @Title Client.java
 * @description TODO
 * @time 2018年10月26日 下午2:13:24
 * @author menguer@126.com
 * @version 1.0
 */
public class Client {
	private CompositeEntity compositeEntity = new CompositeEntity();

	public void printData() {
		for (int i = 0; i < compositeEntity.getData().length; i++) {
			System.out.println("Data: " + compositeEntity.getData()[i]);
		}
	}

	public void setData(String data1, String data2) {
		compositeEntity.setData(data1, data2);
	}
}
